package com.hibiscusking.user.mapper;

import com.hibiscusking.basic.dto.AccountLoginDto;
import com.hibiscusking.user.domain.Logininfo;
import com.hibiscusking.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hibiscusking
 * @since 2022-10-19
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByPhone(AccountLoginDto dto);

    Logininfo findByEmail(String username);

    Logininfo findByUserId(Long userId);
}
